package com.njtech.pet.vo;

import com.njtech.pet.entity.*;

import java.util.List;

/**
 * @author lxj
 *         Date 2020-03-11 12:23
 *         Description 用户的value object
 */
public class UserVO extends User {

    /**记录在册的宠物
     *
     */
    List<Pet> pets;
    /**
     * 记录在册的自然人
     */
    List<Person> persons;
    /**
     * 聊天记录
     */
    List<Message> messages;
    /**
     * 好友列表
     */
    List<User> friends;
    /**
     * 新的好友
     */
    List<User> newFriends;

    /**
     * 所有的行为
     */
    List<Action> actions;

    @Override
    public String toString() {
        return "UserVO{" +
                super.toString() +
                "pets=" + pets +
                ", persons=" + persons +
                ", messages=" + messages +
                ", friends=" + friends +
                ", newFriends=" + newFriends +
                ", actions=" + actions +
                '}';
    }

    public List<Pet> getPets() {
        return pets;
    }

    public void setPets(List<Pet> pets) {
        this.pets = pets;
    }

    public List<Person> getPersons() {
        return persons;
    }

    public void setPersons(List<Person> persons) {
        this.persons = persons;
    }

    public List<Message> getMessages() {
        return messages;
    }

    public void setMessages(List<Message> messages) {
        this.messages = messages;
    }

    public List<User> getFriends() {
        return friends;
    }

    public void setFriends(List<User> friends) {
        this.friends = friends;
    }

    public List<User> getNewFriends() {
        return newFriends;
    }

    public void setNewFriends(List<User> newFriends) {
        this.newFriends = newFriends;
    }

    public List<Action> getActions() {
        return actions;
    }

    public void setActions(List<Action> actions) {
        this.actions = actions;
    }
}
